Release 10.1A: OpenEdge Data Management:
DataServer for Microsoft SQL Server
Cursors
A cursor is like a pointer that points to consecutive records in a table. The Progress 4GL uses cursors to keep track of where it is in a table; for example, when it processes
FOREACHstatements. Suppose that you are reading records from thecustomertable using thecust-numindex, and your current record iscustomernumber50. This means that the 4GL has a cursor positioned atcust-num50. Note that the 4GL maintains cursor positioning across queries.The DataServer allows applications that access MSS data sources to imitate Progress cursor behavior for
FINDcursors.FOREACHandOPENQUERYstatements do not retain cursor position across other queries or against aFINDstatement.This section discusses the following cursor-related activities:
For details about firehose and fast forward-only cursors, see the "Firehose and Fast Forward-Only Cursors" section.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |